package com.chuangshixinchen.enterprise.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chuangshixinchen.enterprise.common.Result;
import com.chuangshixinchen.enterprise.entity.Tb_enterprise;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chuangshixinchen.enterprise.vo.req.EnterpriseReqPageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-08-16
 */
public interface ITb_enterpriseService extends IService<Tb_enterprise> {

    Result<Tb_enterprise> getInfo(Long id);

    Result<Page<Tb_enterprise>> listPage(EnterpriseReqPageVo vo);

    Result saveInfo(Tb_enterprise enterprise);

    Result updateInfo(Tb_enterprise enterprise);
}
